<template>
  <div>
    <!-- <TabBar :index="2"></TabBar> -->
    <van-tabbar v-model="active">
      <van-tabbar-item icon="home-o" to="/home">首页</van-tabbar-item>
      <van-tabbar-item icon="apps-o" to="/classlsy">分类</van-tabbar-item>
      <van-tabbar-item icon="shopping-cart-o" to="cart">购物车</van-tabbar-item>
      <van-tabbar-item
        icon="friends-o
"
        to="my"
        >我的</van-tabbar-item
      >
    </van-tabbar>
  </div>
</template>
<script setup>
import { ref } from 'vue';
const active = ref(2);
// import TabBar from "../tabbar/index.vue";
</script>
<style lang="scss">
</style>